//
//  LVSessionListCell.h
//  LEVE
//
//  Created by 上官惠阳 on 2017/3/10.
//  Copyright © 2017年 dashuju. All rights reserved.
//

#import "HYBaseTableViewCell.h"
@class LVSessionModel;

typedef  NS_ENUM(NSUInteger,LVLastNewsType){
    LVLastNewsReaded,//对方已读
    LVLastNewsFailed,//发送失败
    LVLastNewsUnread,//有新消息
    LVLastNewsHasSend,//已发送
    LVLastNewsWaitingToSend,//等待发送
    LVLastNewsHasReceived//已接收
};
@interface LVSessionListCell : HYBaseTableViewCell
@property (weak, nonatomic) IBOutlet UIButton *headIconBtn;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *msgStateLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UIButton *stateBtn;
@property (weak, nonatomic) IBOutlet UILabel *unReadCountLabel;

@property (assign, nonatomic)LVLastNewsType lastNewsType;

- (void)loadCellWithModel:(LVSessionModel *)model;
- (void)addLongPressWithBlock:(void (^)(LVSessionModel *model))longPreBlock;
@end
